#include <QStringList>
#include "MockShowGuiInterface.h"


MockShowGuiInterface::MockShowGuiInterface(QStringList &notificationLog, const QString &saveFileName) :
   IF_ShowGuiInterface(),
   m_openFileName(QString()),
   m_confirm(true),
   m_notificationLog(notificationLog),
   m_saveFileName(saveFileName)
{
}


QString MockShowGuiInterface::selectShowToOpen() const
{
   return m_openFileName;
}

bool MockShowGuiInterface::confirmShowFileLoad(const QString &) const
{
   return m_confirm;
}


QString MockShowGuiInterface::selectShowToSave() const
{
   return m_saveFileName;
}

void MockShowGuiInterface::notifyErrorMessage(const QString & title,
                                              const QString & errorString) const
{
   m_notificationLog << title << errorString;
}

void MockShowGuiInterface::showLoadingMessage()
{
}

void MockShowGuiInterface::hideLoadingMessage()
{
}
